@import '../../../../css/mobile/components/normalize';
@import '../../../../css/mobile/components/font';

body {
  background: rgba(248, 249, 250, 1);
}

.login {
  height: 352px;
  text-align: center;
  background-color: #fff;

  * {
    box-sizing: border-box;
  }

  input {
    vertical-align: top;
    display: inline-block;
    width: (650/750) * 100%;
    height: 96px;
    margin-bottom: 48px;
    line-height: normal;
    font-size: 32px;
    font-family: "VarelaRound-Regular", "PingFangSC-Regular";
    font-weight: 400;
    text-indent: 30px;
    outline: none;
    color: rgba(75, 79, 87, 1);
    background: rgba(255, 255, 255, 1);
    border-radius: 16px;
    border: 1px solid rgba(211, 213, 217, .5);
    appearance: none;
    text-align: left;

    &::placeholder {
      font-size: 28px;
      font-weight: 400;
      text-indent: 32px;
      font-family: "VarelaRound-Regular", "PingFangSC-Regular";
      color: rgba(153, 158, 168, 1);
    }
  }

  #mobile {
    margin-top: 64px;
  }

  #code {
    width: (378/750) * 100%;
    margin-right: 42px;
  }

  #getCode {
    display: inline-block;
    width: 224px;
    height: 96px;
    line-height: 96px;
    background: rgba(50, 205, 255, 1);
    border-radius: 16px;
    font-size: 32px;
    font-family: PingFangSC-Medium;
    font-weight: 500;
    color: rgba(255, 255, 255, 1);
  }

  .disabled {
    background-color: #D3D5D9 !important;
  }

}

.user-info {
  height: 215px;
  background-color: #fff;
  position: relative;

  .avatar {
    width: 74px;
    height: 74px;
    position: absolute;
    top: 51px;
    left: 58px;
    border-radius: 50%;
  }

  .nickname {
    height: 28px;
    font-size: 28px;
    line-height: 28px;
    font-family: PingFangSC-Regular;
    font-weight: 400;
    color: rgba(51, 51, 51, 1);
    position: absolute;
    top: 75px;
    left: 160px;
  }

  .switch-account {
    width: 180px;
    height: 66px;
    border: 2px solid rgba(100, 203, 250, 1);
    border-radius: 33px;
    font-size: 26px;
    font-family: PingFangSC-Regular;
    font-weight: 400;
    color: rgba(100, 203, 250, 1);
    line-height: 66px;
    text-align: center;
    position: absolute;
    top: 54px;
    right: 60px;
  }
}

.product {
  height: 444px;
  margin-top: 16px;
  background-color: #fff;

  .title {
    height: 114px;
    margin: 0 40px;
    border-bottom: 2px solid rgba(231, 232, 234, .5);

    .text {
      display: inline-block;
      height: 114px;
      line-height: 119px;
      margin-left: 20px;
      font-size: 36px;
      font-family: PingFangSC-Medium;
      font-weight: 500;
      color: rgba(75, 79, 87, 1);
    }

    .price {
      display: inline-block;
      height: 114px;
      line-height: 119px;
      margin-right: 20px;
      float: right;
      font-size: 32px;
      font-family: GothamRounded-Medium;
      font-weight: 500;
      color: rgba(50, 205, 255, 1);
    }
  }

  .info {
    div {
      margin-top: 32px;
      margin-left: 108px;
      height: 40px;
      font-size: 28px;
      font-family: VarelaRound-Regular;
      font-weight: 400;
      color: rgba(103, 108, 117, 1);
      line-height: 40px;
      position: relative;
    }

    .red-heart {
      &:before {
        background-image: url();
      }
    }
    .purple-heart {
      &:before {
        background-image: url();
      }
    }

    .red-heart, .purple-heart {
      &:before {
        position: absolute;
        top: 0;
        left: -48px;
        display: inline-block;
        width: 32px;
        height: 32px;
        content: '' !important;
        background-size: 100% 100%;
      }
    }
  }
}

.buy-bar {
  width: 100%;
  height: 160px;
  position: fixed;
  bottom: 0;
  background-color: #fff;
  text-align: center;

  .price {
    display: inline-block;
    height: 100px;
    line-height: 100px;
    font-size: 32px;
    font-family: GothamRounded-Medium;
    font-weight: 500;
    color: rgba(50, 205, 255, 1);
    letter-spacing: 1px;
    margin-top: 30px;
    margin-right: 72px;
    text-align: center;

    span {
      font-size: 48px;
    }
  }

  #buy {
    display: inline-block;
    width: 380px;
    height: 100px;
    line-height: 100px;
    background: rgba(50, 205, 255, 1);
    border-radius: 16px;
    font-size: 36px;
    font-family: PingFangSC-Medium;
    font-weight: 500;
    color: rgba(255, 255, 255, 1);
    text-align: center;
    margin-top: 30px;
  }
}

.password-mask {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1003;
  overflow: hidden;
  display: none;
  font-family: "VarelaRound-Regular", "PingFangSC-Light", "Microsoft YaHei";

  * {
    box-sizing: border-box;
  }

  .password-box {
    width: 590px;
    margin: 35% auto;
    overflow: hidden;
    background-color: white;
    border-radius: 24px;
    position: relative;
    padding: 0;
  }

  form {
    margin: 64px auto;
  }

  input {
    margin: 16px auto 0 auto;
    display: block;
    width: 510px;
    height: 92px;
    line-height: normal;
    font-size: 28px;
    font-family: VarelaRound-Regular;
    text-indent: 40px;
    outline: none;
    color: rgba(75, 80, 88, 1);
    background: rgba(255, 255, 255, 1);
    border-radius: 46px;
    border: 2px solid rgba(242, 242, 242, 1);
    appearance: none;

    &::placeholder {
      font-weight: 300;
      font-family: PingFangSC-Light;
      //font-family: PingFangSC-Regular;
      color: rgba(193, 193, 193, 1);
    }
  }

  .password-title {
    height: 56px;
    margin-bottom: 48px;
    line-height: 56px;
    font-size: 40px;
    font-family: PingFangSC-Medium;
    color: rgba(75, 80, 88, 1);
    text-align: center;
  }

  .submit-btn {
    display: block;
    margin: 48px auto 0 auto;
    width: 510px;
    height: 96px;
    line-height: 96px;
    background: rgba(153, 159, 168, 0.6);
    border-radius: 48px;
    font-size: 32px;
    font-family: PingFangSC-Medium;
    color: rgba(229, 230, 233, 1);
    text-align: center;
  }

  .active {
    background: rgba(50, 205, 255, 1);
    color: rgba(255, 255, 255, 1);
  }

  #showHidePassword {
    position: absolute;
    display: block;
    top: 168px;
    right: 40px;
    width: 102px;
    height: 92px;
    background-size: 32px 32px;
    background-repeat: no-repeat;
    background-position: 30px 30px;

    &.show {
      background-image: url("");
    }
    &.hide {
      background-image: url("");
    }
  }
}

.verify-payment {
  display: none;

  .payment-result {
    height: 180px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    border: 2px solid transparent;
    text-align: center;
    margin-top: 40px;
  }
  .payment-result .icon {
    left: calc(50% - 50px);
    position: absolute;
  }
  .ok-big-icon {
    background-size: 100px 100px;
    background-image: url('../../../../icon/mobile/ic_ok_big.svg');
    width: 100px;
    height: 100px;
    display: inline-block;
    vertical-align: middle;
  }
  .verify-hint {
    font-size: 28px;
    width: 90%;
    margin: 120px auto 0 auto;
  }
  .qr-code {
    margin-top: 20px;
  }
  .qr-code img {
    display: block;
    width: 360px;
    height: 360px;
    margin-left: calc(50% - 180px);
    content: unset !important;
  }
  .qr-code span {
    font-size: 28px;
    color: #676C75;
    line-height: 40px;
    display: block;
    text-align: center;
    margin-top: -12px;
  }
  .qr-code .subscribe {
    padding: 20px 0 40px 0;
    font-size: 28px;
    color: #696D76;
  }
  .order-detail {
    background-color: #f9f9f9;
    width: 100%;
    padding: 40px 0;
    margin-top: 40px;
  }
  .order-detail .header {
    font-size: 28px;
    color: #4B4F57;
    margin: 20px auto;
    width: 100%;
    text-align: center;
  }
  .detail-item {
    margin: 40px auto;
    font-size: 28px;
    width: 80%;
    color: #666B6C;
  }
  .detail-item span {
    display: inline-block;
    vertical-align: middle;
  }
  .detail-item span:nth-child(2) {
    font-weight: 600;
  }
  .icon-links {
    overflow: hidden;
  }
  .icon-links .socials {
    float: right;
    margin-right: 40px;

  }
  .email {
    text-align: center;
  }
  .email .header {
    font-size: 28px;
    color: #4B4F57;
  }
  .email .text {
    font-size: 28px;
    color: #32CDFF;
    line-height: 56px;
    margin-top: 10px;
  }
  .copy-right {
    margin: 80px 0 80px 0;
    text-align: center;
    padding-bottom: 80px;
  }
  .copy-right span {
    display: block;
    font-size: 24px;
    color: #999EA8;
  }
}